﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VersionsAtributes
{
    [AttributeUsage(AttributeTargets.Method)]

    class VersionsAtribute: System.Attribute
    {
        private string name;
        private string comment;

        public VersionsAtribute(string name)
        {
            this.name = name;
            this.comment = null;
        }

        public VersionsAtribute(string name, string comment):this(name) 
        {
            this.comment = comment;
        }

        public string Comment
        {
            get
            {
                return comment;
            }
            private set
            {
                comment = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            private set
            {
                name = value;
            }
        }
    }
}
